dojo.declare("DVendorOrderHistoryPg", wm.Page, {
start: function() {
},
"preferredDevice": "desktop",
list1OrderIdFormat: function(inValue, rowId, cellId, cellField, cellObj, rowObj) {
var comment = '';
var vendor_comment='';
if (rowObj.comments && rowObj.comments !== null) {
comment = rowObj.comments;
}
if (rowObj.vendor_comment && rowObj.vendor_comment !== null) {
vendor_comment = rowObj.vendor_comment;
}
var display = "<div class='MobileRowTitle'><b>Order#:</b> " + rowObj.orderId + "</div>" + "<div class='MobileRow'>" + wm.List.prototype.dateFormatter({
"formatLength": "medium",
"dateType": "date and time"
}, null, null, null, rowObj.orderDt)+ "<div class='MobileRow'>Customer Comments: " + comment + "</div>" + "</div>" + "<div class='MobileRow'>Vendor Comments: " + vendor_comment + "</div>";
return display;
},
list1StatusFormat: function(inValue, rowId, cellId, cellField, cellObj, rowObj) {
var display = "<div class='MobileRowTitle'><b>Status :</b> </br> " + rowObj.status + "</div>";
return display;
},
list1Select1: function(inSender, inItem) {
this.selectMenu1.setDataValue("Delivered");
},
list2OrderItemIdFormat: function(inValue, rowId, cellId, cellField, cellObj, rowObj) {
var comment = '';
if (rowObj.comments != null) {
comment = rowObj.comments;
}
console.log();
var display = "<div class='MobileRow'>Item Name: " + rowObj.items.itemName + "</div>" + "<div class='MobileRow'>Item Desc: " + rowObj.items.itemDesc + "</div>" + "<div class='MobileRowTitle'>Quantity: " + rowObj.quantity + "</div>" + "<div class='MobileRow'>Price: " + rowObj.price + " Rs</div>";// + "<div class='MobileRow'>Comments: " + comment + "</div>";
return display;
},
button1Click1: function(inSender) {
this.lvMyOrders.clearData();
},
_end: 0
});

DVendorOrderHistoryPg.widgets = {
lvMyOrders: ["wm.LiveVariable", {"autoUpdate":false,"inFlightBehavior":"executeLast","orderBy":"desc:orderDt","startUpdate":false,"type":"com.servicelivedb.data.Order"}, {}, {
liveView: ["wm.LiveView", {"dataType":"com.servicelivedb.data.Order","related":["customerByCustomerId","customerByCustomerId.block","customerByCustomerId.door"],"view":[
{"caption":"OrderId","sortable":true,"dataIndex":"orderId","type":"java.lang.Integer","displayType":"Number","required":true,"readonly":true,"includeLists":true,"includeForms":true,"order":1000,"subType":null,"widthUnits":"px"},
{"caption":"Status","sortable":true,"dataIndex":"status","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1001,"subType":null,"widthUnits":"px"},
{"caption":"Address","sortable":true,"dataIndex":"address","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1002,"subType":null,"widthUnits":"px"},
{"caption":"UpdatedBy","sortable":true,"dataIndex":"updatedBy","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1003,"subType":null,"widthUnits":"px"},
{"caption":"Comments","sortable":true,"dataIndex":"comments","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1004,"subType":null,"widthUnits":"px"},
{"caption":"TotalPrice","sortable":true,"dataIndex":"totalPrice","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1005,"subType":null,"widthUnits":"px"},
{"caption":"ContactNum","sortable":true,"dataIndex":"contactNum","type":"java.lang.Integer","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1006,"subType":null,"widthUnits":"px"},
{"caption":"CouponCode","sortable":true,"dataIndex":"couponCode","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1007,"subType":null,"widthUnits":"px"},
{"caption":"Discount","sortable":true,"dataIndex":"discount","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1008,"subType":null,"widthUnits":"px"},
{"caption":"OrderDt","sortable":true,"dataIndex":"orderDt","type":"java.util.Date","displayType":"Date","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1009,"subType":null,"widthUnits":"px"},
{"caption":"Active","sortable":true,"dataIndex":"active","type":"java.lang.Boolean","displayType":"CheckBox","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1010,"subType":null,"widthUnits":"px"},
{"caption":"Vendor_comment","sortable":true,"dataIndex":"vendor_comment","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":1011},
{"caption":"CustomerId","sortable":true,"dataIndex":"customerByCustomerId.customerId","type":"java.lang.Integer","displayType":"Number","required":true,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2000},
{"caption":"Address","sortable":true,"dataIndex":"customerByCustomerId.address","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2001},
{"caption":"Email","sortable":true,"dataIndex":"customerByCustomerId.email","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2002},
{"caption":"UpdatedDt","sortable":true,"dataIndex":"customerByCustomerId.updatedDt","type":"java.util.Date","displayType":"Date","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2003},
{"caption":"UpdatedBy","sortable":true,"dataIndex":"customerByCustomerId.updatedBy","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2004},
{"caption":"Active","sortable":true,"dataIndex":"customerByCustomerId.active","type":"java.lang.Boolean","displayType":"CheckBox","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2005},
{"caption":"Password","sortable":true,"dataIndex":"customerByCustomerId.password","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2006},
{"caption":"Username","sortable":true,"dataIndex":"customerByCustomerId.username","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2007},
{"caption":"Name","sortable":true,"dataIndex":"customerByCustomerId.name","type":"java.lang.String","displayType":"Text","required":true,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2008},
{"caption":"PrimaryPhone","sortable":true,"dataIndex":"customerByCustomerId.primaryPhone","type":"java.lang.String","displayType":"Text","required":true,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2009},
{"caption":"SecondaryPhone","sortable":true,"dataIndex":"customerByCustomerId.secondaryPhone","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2010},
{"caption":"Type","sortable":true,"dataIndex":"customerByCustomerId.type","type":"java.lang.String","displayType":"Text","required":true,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2011},
{"caption":"AlternateContact","sortable":true,"dataIndex":"customerByCustomerId.alternateContact","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2012},
{"caption":"BlockId","sortable":true,"dataIndex":"customerByCustomerId.block.blockId","type":"java.lang.Integer","displayType":"Number","required":true,"widthUnits":"px","includeLists":true,"includeForms":true,"order":3000},
{"caption":"BlockName","sortable":true,"dataIndex":"customerByCustomerId.block.blockName","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":3001},
{"caption":"DoorId","sortable":true,"dataIndex":"customerByCustomerId.door.doorId","type":"java.lang.Integer","displayType":"Number","required":true,"widthUnits":"px","includeLists":true,"includeForms":true,"order":4000},
{"caption":"DoorName","sortable":true,"dataIndex":"customerByCustomerId.door.doorName","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":4001}
]}, {}],
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"[main].lvLoggedCustomer.customerId","targetProperty":"filter.customerByVendorId.customerId"}, {}],
wire1: ["wm.Wire", {"expression":undefined,"source":"list1.selectedItem.customerByCustomerId.customerId","targetProperty":"sourceData.customerByCustomerId.customerId"}, {}]
}]
}],
lvOrderItems: ["wm.LiveVariable", {"autoUpdate":false,"inFlightBehavior":"executeLast","startUpdate":false,"type":"com.servicelivedb.data.OrderItems"}, {}, {
liveView: ["wm.LiveView", {"dataType":"com.servicelivedb.data.OrderItems","related":["items"],"view":[
{"caption":"Status","sortable":true,"dataIndex":"status","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":4,"subType":null},
{"caption":"DlvrQuantity","sortable":true,"dataIndex":"dlvrQuantity","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":5,"subType":null},
{"caption":"OrderItemId","sortable":true,"dataIndex":"orderItemId","type":"java.lang.Integer","displayType":"Number","required":true,"readonly":true,"includeLists":true,"includeForms":true,"order":1000,"subType":null,"widthUnits":"px"},
{"caption":"Quantity","sortable":true,"dataIndex":"quantity","type":"java.lang.Short","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1001,"subType":null,"widthUnits":"px"},
{"caption":"Price","sortable":true,"dataIndex":"price","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1002,"subType":null,"widthUnits":"px"},
{"caption":"Comments","sortable":true,"dataIndex":"comments","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1003,"subType":null,"widthUnits":"px"},
{"caption":"ItemId","sortable":true,"dataIndex":"items.itemId","type":"java.lang.Integer","displayType":"Number","required":true,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2000},
{"caption":"ItemName","sortable":true,"dataIndex":"items.itemName","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2001},
{"caption":"ItemDesc","sortable":true,"dataIndex":"items.itemDesc","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2002}
]}, {}],
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"list1.selectedItem","targetProperty":"filter.order"}, {}]
}]
}],
svUpdateOrderStatus: ["wm.ServiceVariable", {"inFlightBehavior":"executeLast","operation":"updateOrderStatus","service":"serviceliveDB"}, {"onSuccess":"lvMyOrders","onSuccess1":"ncOrderStatusUpdate"}, {
input: ["wm.ServiceInput", {"type":"updateOrderStatusInputs"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"list1.selectedItem.orderId","targetProperty":"orderId"}, {}],
wire1: ["wm.Wire", {"expression":undefined,"source":"selectMenu1.selectedItem.dataValue","targetProperty":"status"}, {}]
}]
}]
}],
ncOrderStatusUpdate: ["wm.NotificationCall", {"operation":"toast"}, {}, {
input: ["wm.ServiceInput", {"type":"toastInputs"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":"\"Order status updated successfully\"","targetProperty":"text"}, {}],
wire1: ["wm.Wire", {"expression":"2000","targetProperty":"duration"}, {}],
wire2: ["wm.Wire", {"expression":"\"Success\"","targetProperty":"cssClasses"}, {}],
wire3: ["wm.Wire", {"expression":"\"bottom center\"","targetProperty":"dialogPosition"}, {}]
}]
}]
}],
ldOrders: ["wm.LoadingDialog", {"caption":"Loading Orders.."}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"panel4","targetProperty":"widgetToCover"}, {}],
wire1: ["wm.Wire", {"expression":undefined,"source":"lvMyOrders","targetProperty":"serviceVariableToTrack"}, {}]
}]
}],
ldOrdersItems: ["wm.LoadingDialog", {"caption":"Loading Order Details.."}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"panel5","targetProperty":"widgetToCover"}, {}],
wire1: ["wm.Wire", {"expression":undefined,"source":"lvOrderItems","targetProperty":"serviceVariableToTrack"}, {}]
}]
}],
layoutBox1: ["wm.Layout", {"horizontalAlign":"left","styles":{},"verticalAlign":"top"}, {}, {
panel1: ["wm.Panel", {"height":"100%","horizontalAlign":"left","verticalAlign":"top","width":"100%"}, {}, {
panel2: ["wm.Panel", {"height":"35px","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
panel6: ["wm.Panel", {"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"65%"}, {}, {
spacer4: ["wm.Spacer", {"height":"30px","width":"10px"}, {}],
label1: ["wm.Label", {"align":"center","caption":"Orders (Select to view Items)","height":"100%","padding":"4","styles":{"fontWeight":"bold","color":"#1445ae"},"width":"100%"}, {}]
}],
panel7: ["wm.Panel", {"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"30%"}, {}, {
spacer2: ["wm.Spacer", {"height":"48px","width":"20px"}, {}],
label2: ["wm.Label", {"align":"center","caption":"Orders Item Details","height":"100%","padding":"4","styles":{"fontWeight":"bold","color":"#1445ae"},"width":"100%"}, {}]
}]
}],
panel3: ["wm.Panel", {"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
panel4: ["wm.Panel", {"autoScroll":true,"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"65%"}, {}, {
spacer3: ["wm.Spacer", {"height":"48px","width":"10px"}, {}],
list1: ["wm.List", {"_classes":{"domNode":["MobileListStyle"]},"border":"1","columns":[
{"show":true,"field":"orderId","title":"Order#","width":"100%","align":"left","formatFunc":"list1OrderIdFormat","editorProps":{"restrictValues":true},"mobileColumn":false},
{"show":true,"field":"customerByCustomerId.customerId","title":"CustomerByCustomerId.customerId","width":"100%","align":"left","formatFunc":"","editorProps":null,"expression":"\"<div class='MobileRow'><b>Customer Details: </b> </br>\" +${customerByCustomerId.name}+ \n\"</br> Ph: \" + ${customerByCustomerId.primaryPhone} +\n\"</br>\" + ${customerByCustomerId.block.blockName} +\n\"</br>\" + ${customerByCustomerId.door.doorName} +\n\"</div>\"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.name","title":"CustomerByCustomerId.name","width":"100%","align":"left","formatFunc":"","editorProps":null,"expression":"","mobileColumn":false},
{"show":true,"field":"status","title":"Status","width":"80%","align":"center","formatFunc":"list1StatusFormat","editorProps":{"restrictValues":true},"expression":"\"<div class='MobileRow'><b>TotalPrice: <b>\" +${totalPrice}+ \"</div>\"","mobileColumn":false},
{"show":false,"field":"address","title":"Address","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"contactNum","title":"ContactNum","width":"80px","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"updatedBy","title":"UpdatedBy","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"comments","title":"Comments","width":"100%","align":"left","formatFunc":"","editorProps":{"restrictValues":true},"mobileColumn":false},
{"show":true,"field":"totalPrice","title":"TotalPrice","width":"80px","align":"left","formatFunc":"","editorProps":{"restrictValues":true},"expression":"\"<div class='MobileRow'><b>TotalPrice: <b>\" +${totalPrice}+ \" Rs</div>\"","mobileColumn":true},
{"show":false,"field":"PHONE COLUMN","title":"-","width":"100%","align":"left","editorProps":{"restrictValues":true},"expression":"\"<div class='MobileRowTitle'>\" +\n\"Order#: \" + ${wm.runtimeId}.formatCell(\"orderId\", ${orderId}, ${this}, ${wm.rowId}) +\n\"</div>\"\n\n+ \"<div class='MobileRow'>\" +\n\"CustomerByCustomerId.customerId: \" + ${wm.runtimeId}.formatCell(\"customerByCustomerId.customerId\", ${customerByCustomerId.customerId}, ${this}, ${wm.rowId})\n + \"</div>\"\n\n+ \"<div class='MobileRow'>\" +\n\"Status: \" + ${wm.runtimeId}.formatCell(\"status\", ${status}, ${this}, ${wm.rowId})\n + \"</div>\"\n\n","mobileColumn":false},
{"show":false,"field":"couponCode","title":"CouponCode","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"discount","title":"Discount","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"orderDt","title":"OrderDt","width":"80px","align":"left","formatFunc":"wm_date_formatter","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.address","title":"CustomerByCustomerId.address","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.email","title":"CustomerByCustomerId.email","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.updatedDt","title":"CustomerByCustomerId.updatedDt","width":"80px","align":"left","formatFunc":"wm_date_formatter","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.updatedBy","title":"CustomerByCustomerId.updatedBy","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.active","title":"CustomerByCustomerId.active","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.password","title":"CustomerByCustomerId.password","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.username","title":"CustomerByCustomerId.username","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.primaryPhone","title":"CustomerByCustomerId.primaryPhone","width":"100%","align":"left","formatFunc":"","editorProps":{"restrictValues":true},"mobileColumn":false},
{"show":false,"field":"customerByCustomerId.secondaryPhone","title":"CustomerByCustomerId.secondaryPhone","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.type","title":"CustomerByCustomerId.type","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.alternateContact","title":"CustomerByCustomerId.alternateContact","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.block.blockId","title":"CustomerByCustomerId.block.blockId","width":"80px","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.block.blockName","title":"CustomerByCustomerId.block.blockName","width":"100%","align":"left","formatFunc":"","editorProps":{"restrictValues":true},"mobileColumn":false},
{"show":false,"field":"customerByCustomerId.door.doorId","title":"CustomerByCustomerId.door.doorId","width":"80px","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"customerByCustomerId.door.doorName","title":"CustomerByCustomerId.door.doorName","width":"100%","align":"left","formatFunc":"","editorProps":{"restrictValues":true},"mobileColumn":false},
{"show":false,"field":"active","title":"Active","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"vendor_comment","title":"Vendor_comment","width":"100%","displayType":"Text","align":"left","formatFunc":""},
{"show":true,"controller":"rightarrow","width":"20px","title":"-","field":"_rightArrow","mobileColumn":true}
],"headerVisible":false,"height":"100%","margin":"1","minDesktopHeight":60,"rightNavArrow":true,"styleAsGrid":false}, {"onSelect":"lvOrderItems","onSelect1":"list1Select1"}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"lvMyOrders","targetProperty":"dataSet"}, {}]
}]
}]
}],
panel5: ["wm.Panel", {"autoScroll":true,"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"35%"}, {}, {
spacer1: ["wm.Spacer", {"height":"48px","width":"10px"}, {}],
panel8: ["wm.Panel", {"height":"100%","horizontalAlign":"left","verticalAlign":"top","width":"100%"}, {}, {
panel9: ["wm.Panel", {"height":"30px","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"list1.emptySelection","targetProperty":"disabled"}, {}]
}],
selectMenu1: ["wm.SelectMenu", {"border":"0","caption":"selectMenu1","captionSize":"0px","dataField":"dataValue","dataType":"StringData","dataValue":undefined,"desktopHeight":"30px","displayField":"dataValue","displayValue":"","height":"30px","placeHolder":"Select status","width":"200px"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"app.vOrderStatus","targetProperty":"dataSet"}, {}]
}]
}],
button1: ["wm.Button", {"border":"1","caption":"Update Status","height":"100%","iconMargin":"0 2px 0 0","margin":"4","width":"120px"}, {"onclick":"svUpdateOrderStatus","onclick1":"button1Click1"}]
}],
list2: ["wm.List", {"_classes":{"domNode":["MobileListStyle"]},"border":"1","columns":[
{"show":true,"field":"orderItemId","title":"OrderItemId","width":"100%","align":"left","formatFunc":"list2OrderItemIdFormat","editorProps":{"restrictValues":true},"expression":"","mobileColumn":false},
{"show":false,"field":"quantity","title":"Quantity","width":"80px","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"price","title":"Price","width":"80px","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"comments","title":"Comments","width":"100%","align":"left","formatFunc":"","editorProps":{"restrictValues":true},"mobileColumn":false},
{"show":false,"field":"items.itemId","title":"Items.itemId","width":"80px","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"items.itemName","title":"Items.itemName","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"items.itemDesc","title":"Items.itemDesc","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"PHONE COLUMN","title":"-","width":"100%","align":"left","expression":"\"<div class='MobileRowTitle'>\" +\n\"OrderItemId: \" + ${wm.runtimeId}.formatCell(\"orderItemId\", ${orderItemId}, ${this}, ${wm.rowId}) +\n\"</div>\"\n\n","mobileColumn":false},
{"show":false,"field":"status","title":"Status","width":"100%","displayType":"Text","align":"left","formatFunc":""},
{"show":false,"field":"dlvrQuantity","title":"DlvrQuantity","width":"80px","displayType":"Number","align":"left","formatFunc":""}
],"headerVisible":false,"height":"100%","margin":"1","minDesktopHeight":60,"styleAsGrid":false,"width":"80%"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"lvOrderItems","targetProperty":"dataSet"}, {}],
wire1: ["wm.Wire", {"expression":undefined,"source":"list1.emptySelection","targetProperty":"disabled"}, {}]
}]
}]
}]
}]
}]
}]
}]
};

DVendorOrderHistoryPg.prototype._cssText = '';
DVendorOrderHistoryPg.prototype._htmlText = '';